﻿@model XPressify.Models.EventParticipants
@using Omu.Awesome.Core;
@using Omu.Awesome.Mvc.Helpers;

@{
    ViewBag.Title = "Event participants";
}

<table>
    @foreach (var participant in Model.Participants)
    {
        <tr>
            <td width="50px">
                <a href='@Url.Action("ProfileView", "Profile", new { id = participant.Id })' class="nobtn">
                    <img src= "@participant.ProfilePicturePath" alt="Profile picture" title="Profile picture" style="width: 50px;height: 50px;" />
                </a>
            </td>
            <td>@Html.ActionLink(participant.FullName, "ProfileView", "Profile", new { id = participant.Id }, new { @class = "nobtn"})</td>
        </tr>
    }
</table>
